package com.spa.application.dto.admin;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Date;

/**
 * @author: linli
 */
@Data
@JsonInclude
public class MassagistServiceTimeDTO {

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date lineDate;

    private Long duration;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date online;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date offline;

}
